package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.system.domain.JyjcSharingExpenses;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 费用分摊Service接口
 * 
 * @author 石亚兵
 * @date 2025-07-09
 */
public interface IJyjcSharingExpensesService 
{
    /**
     * 查询费用分摊
     * 
     * @param id 费用分摊主键
     * @return 费用分摊
     */
    public JyjcSharingExpenses selectJyjcSharingExpensesById(Long id);

    /**
     * 查询费用分摊列表
     * 
     * @param jyjcSharingExpenses 费用分摊
     * @return 费用分摊集合
     */
    public List<JyjcSharingExpenses> selectJyjcSharingExpensesList(JyjcSharingExpenses jyjcSharingExpenses);

    /**
     * 新增费用分摊
     * 
     * @param jyjcSharingExpenses 费用分摊
     * @return 结果
     */
    public int insertJyjcSharingExpenses(JyjcSharingExpenses jyjcSharingExpenses);

    /**
     * 修改费用分摊
     * 
     * @param jyjcSharingExpenses 费用分摊
     * @return 结果
     */
    public int updateJyjcSharingExpenses(JyjcSharingExpenses jyjcSharingExpenses);

    /**
     * 批量删除费用分摊
     * 
     * @param ids 需要删除的费用分摊主键集合
     * @return 结果
     */
    public int deleteJyjcSharingExpensesByIds(Long[] ids);

    /**
     * 删除费用分摊信息
     * 
     * @param id 费用分摊主键
     * @return 结果
     */
    public int deleteJyjcSharingExpensesById(Long id);
    /**
     * 生成费用分摊信息
     * @return
     */
    public int generateData(@RequestBody JyjcSharingExpenses jyjcSharingExpenses);
    /**
     * 分摊数据和部门审核
     * @return
     */
    public int UpdateFlag(@RequestBody JyjcSharingExpenses jyjcSharingExpenses);
    /**
     * 报表审核
     * @return
     */
    public int UpdateFlagStatistics(@RequestBody JyjcSharingExpenses jyjcSharingExpenses);
}
